/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */





#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 250px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    top:0;
    left: 250px;
    width: 0;
    display:none;
    height: 100%;
    margin-left: -250px;
    overflow-y: auto;
    background: #f2f7fb;
    font-size:16px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#sidebar-wrapper a{
color:#333;
}

#wrapper .container-fluid{
    padding:0;
}

#wrapper.toggled #sidebar-wrapper {
    width: 250px;
    display:block;
}

#wrapper.toggled .navbar-static-top{
    margin-left:-250px;
    margin-right: 250px;
}

#page-content-wrapper {
    width: 100%;
    position: absolute;
    padding: 0px;
}

#wrapper.toggled #page-content-wrapper {
    position: absolute;
    margin-right: -250px;
}

#wrapper .btn{
    
    border-width: 0px;
    opacity: 0.9;
}

/* Sidebar Styles */

.sidebar-nav {
    position: absolute;
    top: 50px;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
    border-bottom: 1px solid #cec;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999999;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(60,160,0,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    background: #270;
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 125px;
    font-size: 20px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}
#content .panel-body{
    padding:2px;
}

#wrapper .panel-heading{
    background:#cec;
}

#wrapper .navbar{
    min-height:40px;
    margin: 0;
}
#wrapper .navbar-success{
    background:#5CB85C;
}

#menu-toggle{
    margin:2px;
}

#wrapper .carousel-indicators{
    left: 80%;
}

#wrapper .carousel-indicators li{
    width: 32px;
}

#wrapper .carousel-indicators li.active{
    width: 32px;
}
.carousel-inner img{
    min-width: 320px;
}

#wrapper .grid{
    margin: 0 -2px;
}

#wrapper .grid-item{
    padding: 2px 2px;
}

.circle{
    height: 100px;
    width: 100px;
    margin: 16px auto;
    padding: 30px 4px;
    background: #5D97C7;
    border-radius: 50%;
    font-size: 14px;
    color: #fff;
    text-align:center;
}

body {
  padding: 0;
  margin:0;
  font-size: 14px;
  color:#999;
}

b{color:#000}

a,a:hover,a:active {
  text-decoration:none;
}

hr,p{clear: both;margin: 8px 0}

input[type=submit]{
    width: 120px;
    background: #ccf;
}

table{border:0;margin:0;width:100%;border-collapse:collapse;border-spacing:0;font-size: 12px;background-color:#fff}

td{padding:6px 2px}

th{text-align:left}

table label{
    color:#45CAA1;
}


.TimeFilterTable th{
    background-color:#333;
    color:#fff;
    text-align:center;
    padding:0.5em 1em;
    border-bottom:2px #333 solid;
}

.TimeFilterTable .selected{
    background-color:#666;
    border-bottom:2px #45CAA1 solid;
}

.ProductDetailPage{
}

.ProductDetailPage table{
    margin:10px 4px;
    border-top-left-radius:6px;
    border-top-right-radius:6px;
}

.ProductDetailPage tr{
    border-bottom:1px #ccc solid
}

.input-group{
    margin:6px;
}
.clear-both{
    clear:both;
}

.mustsee{
background:url(must_see_timer.png) no-repeat;
display:block;
line-height:30px;
margin-left:-15px;
padding-left:30px;
color:#fff;
}

img.avatar{
    width:64px;
    height:64px;
    border-radius:32px;
}

tr.in{
    background:#eee;
}

tr.out{
    background:#cec;
}

.list-group-item a{
    display:block;
    line-height:24px;
}
a.b{
    display:block;
}

a.block{
    display:block;
    position: relative;
}

a.block .caption-md{
    position: absolute;
    left:10px;
    top: 10px;
    width: 80%;
    background: #eee;
    border-radius: 4px;
    opacity:0.8;
}

a.block .caption-xs{
    position: absolute;
    left:10px;
    bottom: 10px;
    width: 80%;
    line-height:30px;
    background: #eee;
    border-radius: 4px;
    opacity:0.8;
}

nav .pager{
    margin: 0;
}

.pager a.btn-lg{
    padding: 10px 16px;
    border-radius: 6px;
}

.btn.btn-lg .badge{
    top:-12px;right:-5px;color:#f00;
}


.icon{
    display: block;
    width: 36px;
    height: 36px;
    background-image: url('icons-36-white.png');
}
.icon.setting{
background-position:-575px;
}

.icon.menu{
background-position:-865px;
}

.icon.back{
background-position:-290px;
}

@media(min-width:768px) {
    #wrapper {
        padding-left: 250px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 250px;
        display:block;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
        display:none;
    }

    #page-content-wrapper {
        padding: 0px;
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
    td{padding:6px}
    #content .panel-body{padding:15px}
    #mallBody{padding: 10px}
}











/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
